package com.seari.bean;

import java.util.Arrays;

public class DeviceOfServer
{
	private String deviceName;
    private String ipAddress;
    private int port;
    private String userName;
    private String password;
    private String[] monitorStrs;
    private long reslutTotalMemory;
    private long resultAvailableMemory;
    private int resultCpuLoad;
    private int resultMemoryUsage;
    private long resultTotalDiskSpace;
    private long resultFreeDiskSpace;
    private int resultDiskUsage;
    private int resultTemperature;

	public int getResultTemperature() {
		return resultTemperature;
	}
	public void setResultTemperature(int resultTemperature) {
		this.resultTemperature = resultTemperature;
	}
	private int resultFlow;
    private long staticTotalMemory;
    private long staticAvailableMemory;
    private int staticCpuLoad;
    private int staticMemoryUsage;
    private boolean isConnected;
    private String updateTime;
    private String serverNameCn; 
    
    private static long gbParam = 1024 * 1024 * 1024;
    
	public String getDeviceName()
	{
		return deviceName;
	}
	public void setDeviceName(String deviceName)
	{
		this.deviceName = deviceName;
	}
	public String getIpAddress()
	{
		return ipAddress;
	}
	public void setIpAddress(String ipAddress)
	{
		this.ipAddress = ipAddress;
	}
	public int getPort()
	{
		return port;
	}
	public void setPort(int port)
	{
		this.port = port;
	}
	public String getUserName()
	{
		return userName;
	}
	public void setUserName(String userName)
	{
		this.userName = userName;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String[] getMonitorStrs()
	{
		return monitorStrs;
	}
	public void setMonitorStrs(String[] monitorStrs)
	{
		this.monitorStrs = monitorStrs;
	}
	public long getReslutTotalMemory()
	{
		return reslutTotalMemory;
	}
	public void setReslutTotalMemory(long reslutTotalMemory)
	{
		this.reslutTotalMemory = reslutTotalMemory;
	}
	public long getResultAvailableMemory()
	{
		return resultAvailableMemory;
	}
	public void setResultAvailableMemory(long resultAvailableMemory)
	{
		this.resultAvailableMemory = resultAvailableMemory;
	}
	public int getResultCpuLoad()
	{
		return resultCpuLoad;
	}
	public void setResultCpuLoad(int resultCpuLoad)
	{
		this.resultCpuLoad = resultCpuLoad;
	}
	public int getResultMemoryUsage()
	{
		return resultMemoryUsage;
	}
	public void setResultMemoryUsage(int resultMemoryUsage)
	{
		this.resultMemoryUsage = resultMemoryUsage;
	}
	public long getResultTotalDiskSpace()
	{
		return resultTotalDiskSpace;
	}
	public void setResultTotalDiskSpace(long resultTotalDiskSpace)
	{
		this.resultTotalDiskSpace = resultTotalDiskSpace;
	}
	public long getResultFreeDiskSpace()
	{
		return resultFreeDiskSpace;
	}
	public void setResultFreeDiskSpace(long resultFreeDiskSpace)
	{
		this.resultFreeDiskSpace = resultFreeDiskSpace;
	}
	public int getResultDiskUsage()
	{
		return resultDiskUsage;
	}
	public void setResultDiskUsage(int resultDiskUsage)
	{
		this.resultDiskUsage = resultDiskUsage;
	}
	public long getStaticTotalMemory()
	{
		return staticTotalMemory;
	}
	public void setStaticTotalMemory(long staticTotalMemory)
	{
		this.staticTotalMemory = staticTotalMemory;
	}
	public long getStaticAvailableMemory()
	{
		return staticAvailableMemory;
	}
	public void setStaticAvailableMemory(long staticAvailableMemory)
	{
		this.staticAvailableMemory = staticAvailableMemory;
	}
	public int getStaticCpuLoad()
	{
		return staticCpuLoad;
	}
	public void setStaticCpuLoad(int staticCpuLoad)
	{
		this.staticCpuLoad = staticCpuLoad;
	}
	public int getStaticMemoryUsage()
	{
		return staticMemoryUsage;
	}
	public void setStaticMemoryUsage(int staticMemoryUsage)
	{
		this.staticMemoryUsage = staticMemoryUsage;
	}
	public boolean getIsConnected()
	{
		return isConnected;
	}
	public void setIsConnected(boolean isConnected)
	{
		this.isConnected = isConnected;
	}
	public String getUpdateTime()
	{
		return updateTime;
	}
	public void setUpdateTime(String updateTime)
	{
		this.updateTime = updateTime;
	}
	public int getResultFlow()
	{
		return resultFlow;
	}
	public void setResultFlow(int resultFlow)
	{
		this.resultFlow = resultFlow;
	}
	public String getServerNameCn()
	{
		return serverNameCn;
	}
	public void setServerNameCn(String serverNameCn)
	{
		this.serverNameCn = serverNameCn;
	}
	@Override
	public String toString() {
		return "DeviceOfServer [deviceName=" + deviceName + ", ipAddress="
				+ ipAddress + ", port=" + port + ", userName=" + userName
				+ ", password=" + password + ", monitorStrs="
				+ Arrays.toString(monitorStrs) + ", reslutTotalMemory="
				+ reslutTotalMemory + ", resultAvailableMemory="
				+ resultAvailableMemory + ", resultCpuLoad=" + resultCpuLoad
				+ ", resultMemoryUsage=" + resultMemoryUsage
				+ ", resultTotalDiskSpace=" + resultTotalDiskSpace
				+ ", resultFreeDiskSpace=" + resultFreeDiskSpace
				+ ", resultDiskUsage=" + resultDiskUsage
				+ ", resultTemperature=" + resultTemperature + ", resultFlow="
				+ resultFlow + ", staticTotalMemory=" + staticTotalMemory
				+ ", staticAvailableMemory=" + staticAvailableMemory
				+ ", staticCpuLoad=" + staticCpuLoad + ", staticMemoryUsage="
				+ staticMemoryUsage + ", isConnected=" + isConnected
				+ ", updateTime=" + updateTime + ", serverNameCn="
				+ serverNameCn + "]";
	}
	
    
    
}
